<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .main {
            width: 500px;
            height: 300px;
            background-color: rosybrown;
            display: grid;
        }

        .main img {
            width: 100%;
            height: 100%;
            grid-area: 1 / 1 / 1 / 1;
        }

        .main div {
            grid-area: 1 / 1 / 1 / 1;
            justify-self: end;
            color: white;
            padding: 10px;
        }

        .main p {
            grid-area: 1 / 1 / 1 / 1;
            align-self: end;
            background-color: rgba(0,0,0,0.2);
            padding: 10px ;
            margin: 0;
            color: white;
        }
    </style>
</head>
<body>
<div class="main">
    <img src="https://tse3-mm.cn.bing.net/th/id/OIP-C.VCcgAcUd3Xv7HszQm8ZaJQHaEK?rs=1&pid=ImgDetMain" alt=""/>
    <div>精品</div>
    <p>水下可爱动漫女孩4K动漫壁纸3840x2160</p>
</div>
</body>
</html>
